package com.cn.longdistancebusstation.model;

import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by mal on 2018/2/2.
 * 获取订单详情时用
 */

public class ListResultII<T> {
    private Result.Head head;

    public Result.Head getHead() {
        return head;
    }

    public void setHead(Result.Head head) {
        this.head = head;
    }

    @SerializedName("body")
    private List<T> data;

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }


    //
    public class  Head {
        private String msg;
        @SerializedName("success")
        private Boolean isSuccess;

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public Boolean getSuccess() {
            return isSuccess;
        }

        public void setSuccess(Boolean success) {
            isSuccess = success;
        }
    }
}
